#ifndef POSITION_HPP
#	define POSITION_HPP

#	include "Chess.hpp"

class Position
{
	public:
	
		static bool isGood(int x, int y);
		Position(unsigned int x, unsigned int y, Chess::Color color = Chess::WHITE);
		Position(const Position& pos);
		~Position();

		void 			setColor(Chess::Color color);
		Chess::Color	getColor() const;
		unsigned int 	getX() const;
		unsigned int	getY() const;
		unsigned int	getRealX() const;
		unsigned int	getRealY() const;
		void			setX(unsigned int val);
		void			setY(unsigned int val);
		bool 			operator== (const Position& pos) const;
		bool			operator!= (const Position& pos) const;
		Position&		operator= (const Position& pos);
		
	private:
		Position();
		unsigned int 	x;
		unsigned int 	y;
		Chess::Color 	color;
};

#endif
